-
Notifications
You must be signed in to change notification settings - Fork 1.1k
appkit: patch a unit test issue in monitor.rs regarding display ID.
#4402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
appkit: patch a unit test issue in monitor.rs regarding display ID.
#4402
Conversation
|
Changes to |
|
@kchibisov That's what done by |
269157b to
853812c
Compare
It doesn't do that for me with latest nightly on master. (We also run it on CI). maybe some rustfmt.toml collision? |
|
@kchibisov It might be something messed up by my previously-installed old version of Rust. Let's forget about it for now. |
kchibisov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other than that, it's fine.
|
@kchibisov I guess this PR is now in a mergeable state. |
|
You did the opposite of what I've asked for. You should keep code, but drop |
On macOS, make AppKit monitor handle tests derive their reference display IDs from `CGMainDisplayID`, preventing failures on systems where the primary monitor is not display `1`.
5782c80 to
a55ef9b
Compare
@kchibisov Done. Sorry for the inconvenience. |
changelogmodule if knowledge of this change could be valuable to users